Use GtkFontChooser on Gtk+ 3.2 and up.
authorJan D. <jan.h.d@swipnet.se>
Sat, 11 Aug 2012 08:54:35 +0000 (10:54 +0200)
committerJan D. <jan.h.d@swipnet.se>
Sat, 11 Aug 2012 08:54:35 +0000 (10:54 +0200)
commit354de5da006756147da5f16bbac577ca70208637
treefc1cc2aeb955318e4ce35fb93d4cb003ceef2530
parent0984e962e524d29e3d19d798cfa537ca05c778b0
Use GtkFontChooser on Gtk+ 3.2 and up.

* src/gtkutil.c (gtk_font_chooser_dialog_new, GTK_FONT_CHOOSER)
(gtk_font_chooser_set_font, gtk_font_chooser_get_font): Define
for Gtk+ versions less than 3.2.
(xg_get_font_name): Use those functions/macros here.
Reported by Frans Oilinki <moilinki@gmail.com>.
src/ChangeLog
src/gtkutil.c